<template>
  <div id="unit">
    <label for="f_replace_style" class="col-sm-2 control-label">补卡类型:</label>
    <div class="col-sm-2">
      <v-select id="f_replace_style"
      v-model="f_replace_style"
      placeholder='请选择'
      :value.sync="f_replace_style"
      :options='replacestyle'
      close-on-select clear-button>
      </v-select>
    </div>
  </div>
</template>
<script>
/**
*公共组件
*补卡类型
*/
import AppData from '../../../stores/AppData'

export default {
  data () {
    return {
      f_replace_style: ['']
    }
  },
  props: ['replace'],
  watch: {
    'f_replace_style' (val) {
      this.replace = val[0]
    }
  },
  computed: {
    replacestyle () {
      return AppData.getParam('补卡类型')
    }
  }
}
</script>
<style>
 #row{
  margin-top: 5px;
}
</style>
